<template>
  <div>
    <router-view/>
    <!-- 下边栏 -->
    <play-controller></play-controller>
  </div>
  
</template>

<script>
import playController from '@/components/playcontroller/playController.vue'
export default {
  name: "App",
  components: {
    playController
  },
  mounted() {
    let userData = JSON.parse(localStorage.userData);
    this.$store.commit('setUser', userData)
    console.log(userData);
  }
}
</script>

<style lang="less">
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: '微软雅黑';
}
.icon {
  width: 0.30rem;
  height: 0.3rem;
}
a {
  color: #333;
  text-decoration: none;
}
</style>
